﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;
using SqlSugar;

namespace Model.Models
{
    /// <summary>
    /// 登录日志
    /// </summary>
    [SugarTable("sys_LoginLog")]
    public  class LoginLog : BaseDBModelV2
    {
        /// <summary>
        /// 用户名称
        /// </summary>
        [StringLength(100)]
        [Description("用户名称")]
        public string? Name { get; set; } = "";

        /// <summary>
        /// 登录账号
        /// </summary>
        [StringLength(300)]
        [Description("登录账号")]
        public string? AccountNo { get; set; } = "";

        /// <summary>
        /// 登录密码
        /// </summary>
        [StringLength(100)]
        [Description("登录密码")]
        public string? Pwd { get; set; } = "";


        /// <summary>
        /// 登录状态
        /// </summary>
        [StringLength(100)]
        [Description("登录状态")]
        public string? LoginState { get; set; } = "";

        /// <summary>
        /// 登录IP
        /// </summary>
        [StringLength(100)]
        [Description("登录IP")]
        public string? LoginIP { get; set; } = "";

        /// <summary>
        /// 登录方式
        /// </summary>
        [StringLength(100)]
        [Description("登录方式")]
        public string? LoginAction { get; set; } = "";


    }
}
